package org.jeecg.common.modules.doctor.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.jeecg.common.modules.dic.entity.DicBeGoodAt;
import org.jeecg.common.modules.doctor.entity.DoctorRegisterAccount;
import org.jeecg.common.modules.doctor.entity.DoctorRegisterHospital;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.jeecg.common.modules.doctor.vo.DoctorRegisterOrderVo;
import org.jeecg.common.modules.doctor.vo.DoctorReqVo;

/**
 * @Description: doctor_register_hospital
 * @Author: jeecg-boot
 * @Date:   2020-12-18
 * @Version: V1.0
 */
public interface DoctorRegisterHospitalMapper extends BaseMapper<DoctorRegisterHospital> {
    /**
     * 列表页面信息展示
     */
    List<DoctorRegisterHospital> getInfoList(@Param("dataStart") Integer dataStart,
                                             @Param("pageSize") Integer pageSize);

    /**
     * 获取页面展示总数
     */
    int getInfoListCount();
    /**
     * 查询信息
     * @return
     */
    List<DoctorRegisterAccount> getHospitalList(
            @Param("hospitalId") String hospitalId,
            @Param("recordId") String recordId,
            @Param("dataStart") Integer dataStart,
            @Param("pageSize") Integer pageSize);

    /**
     * 查询信息数量
     * @return
     */
    Integer getHospitalOrderCount(@Param("hospitalId") String hospitalId,@Param("recordId") String recordId);

    /**
     * 获取所有挂号涉及的科室
     */
    List<DicBeGoodAt> getRegisterDepartment();
}
